<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>弹性布局</title>
		<style type="text/css">
			#box{
				display: flex;
			}
			#aside{
				background-color: #000000;
				width: 20%;
				height: 800px;
			}
			#aside1{
				background-color: saddlebrown;
				width: 20%;
				height: 800px;
			}
			#main{
				flex: 1;
				background-color: #0000FF;
			}
			#nav{
				width: 100%;
				height: 100px;
				background-color: #00FF00;
			}
		</style>
	</head>
	<body>
		<div id="nav">
			daojgl
		</div>
		<div id="box">
			<div id="aside1">
				
			</div>
			<div id="main">
				
			</div>
			<div id="aside">
				
			</div>
			
		</div>
	</body>
</html>
